import java.util.Arrays;


public class Solution {
    public boolean IsContinuous(int [] numbers) {

        Arrays.sort(numbers);

        int numZ = 0;
        int start = -1;

        for (int num : numbers) {
            System.out.printf("%d, %d\n", start, num);
            if (num == 0) {
                numZ++;
            }
            else {
                if (start == -1) {
                    start = num;
                }
                else {
                    if (start == num) {
                        return false;
                    }
                    else if (start == num - 1) {
                        start  = num;
                        continue;
                    }
                    else {
                        numZ -= num - start - 1;
                        if (numZ < 0) {
                            return false;
                        }
                    }
                    start = num;
                }
            }
        }
        return true;
    }
}
